package cn.itcast.service.packing;

import cn.itcast.domain.packing.Invoice;
import cn.itcast.domain.packing.InvoiceExample;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface InvoiceService {

    List<Invoice> findAll(InvoiceExample example);

    Invoice findById(String id);

    void save(Invoice invoice);

    void update(Invoice invoice);

    void delete(String id);

    PageInfo findByPage(int pageNum, int pageSize, InvoiceExample example);
}